package com.wjt.homestayms.mapper;

import com.wjt.homestayms.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {

   //查询所有用户
   public List<User> selectAllUser();
   //查询用户
   public User selectUserById(Integer id);
   //添加用户
   public Integer insertUser(User user);
}
